package com.czp.service.impl;

import java.util.List;

import com.czp.service.ResumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.czp.dao.ResumeDao;
import com.czp.pojo.Resume;

@Service
public class ResumeServiceImpl implements ResumeService {

	@Autowired
	private ResumeDao resumeDao;

	@Override
	public List<Resume> findAll() {
		return resumeDao.findAll();
	}

	@Override
	public void deleteById(Long id) {
		resumeDao.deleteById(id);
	}

	@Override
	public void saveOrUpdate(Resume resume) {
		resumeDao.save(resume);
	}
}
